package com.freeter.modules.job.task;


import com.freeter.modules.gjs.service.ReCalcCompoent;
import org.springframework.stereotype.Component;
import org.springframework.beans.factory.annotation.Autowired;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

@Component
public class CalcFileWatcherJob extends AbstractTask {

    private static final Logger logger = LogManager.getLogger(CalcFileWatcherJob.class);

    @Autowired
    private ReCalcCompoent reCalcCompoent;

    @Override
    public void run() {
        reCalcCompoent.doReCalcStock();
    }

} 